<template>
  <div class="home">
    <div @click="goTo('/avatar')">用户头像轮播效果</div>
    <div>...</div>
  </div>
</template>

<script>
import { useRouter } from 'vue-router'
export default {
  name: 'HomeView',
  setup () {
    const router = useRouter()

    const goTo = (url) => {
      router.push(url)
    }
    return {
      goTo
    }
  }
}
</script>

<style lang="sass" scoped>
</style>
